var N = {}; (function(a) {
    N = a.extend(N, {
        namespace: function() {
            var a = arguments,
            d = null,
            e, c, g;
            for (e = 0; e < a.length; e++) {
                g = a[e].split(".");
                d = N;
                for (c = "N" == g[0] ? 1 : 0; c < g.length; c++) d[g[c]] = d[g[c]] || {},
                d = d[g[c]]
            }
            return d
        }
    })
})(jQuery);
N.namespace("Widget"); (function() {
    N.Widget = {
        goToTop: function() {            
        },
        twodcode: function() {
            $code = $("<a href='http://wp.qihuiwang.com'><div id='h_2dcode' class='add_2dcode'></div></a>");
            $code.appendTo($(document.body));
            var a = $(window).height();
            $.browser.msie && "6.0" == $.browser.version && $code.css({
                position: "absolute",
                bottom: "80px"
            });
            $(window).bind("scroll",
            function() {
                $.browser.msie && "6.0" == $.browser.version && $code.css({
                    top: $(this).scrollTop() + a - 400
                });
            });
        }
    }
})();

jQuery(function() {
    N.Widget.goToTop();
    N.Widget.twodcode();
});